package o2o.dao.PO.order;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Created with IntelliJ IDEA.
 *
 * @desc: 用户退单记录
 * @User: @Created by yangtk
 * @Date: @Date 2019/10/16 16:37
 * @Classname: OrderPostmanBackInfo
 * @To change this template use File | Settings | File Templates.
 */
@Data
@Accessors(chain = true)
public class OrderPostmanBackInfo {
    //    CREATE TABLE `order_postman_back` (
//            `id` INT(11) NOT NULL AUTO_INCREMENT COMMENT '标识 配送员退单记录',
//            `orderNo` VARCHAR(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '订单编号',
//            `postmanId` INT(11) NOT NULL COMMENT '配送员ID',
//            `username` VARCHAR(22) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '配送员账号',
//            `postmanName` VARCHAR(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '配送员姓名',
//            `postmanPhone` VARCHAR(22) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '配送员电话',
//            `postmanImageUrl` VARCHAR(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '配送员头像',
//            `backTime` BIGINT(15) DEFAULT NULL COMMENT '退单时间 ',
//            `delFlag` INT(1) NOT NULL DEFAULT '0' COMMENT '是否已删除(0未删除,1已删除)',
//            `createUser` VARCHAR(22) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '创建者',
//            `createTime` BIGINT(15) DEFAULT NULL COMMENT '创建日期  141231212423423时间戳毫秒级标识',
//            `updateUser` VARCHAR(22) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '最后更新着',
//            `updateTime` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
//    PRIMARY KEY (`id`),
//    KEY `order_postman_index` (`orderNo`)
//            ) ENGINE=INNODB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
    private Long id;
    private String orderNo;
    private Long postmanId;
    private String username;
    private String postmanName;
    private String postmanPhone;
    private String postmanImageUrl;
    private Long backTime;
    private int delFlag = 0;
    private String createUser;
    private String updateUser;
    private Long createTime;
    private Long updateTime;

}
